import request from "../request.js";

console.log(request);
//获取当前登录用户信息
export function getUserInfo(params,config) {
  return request.post("/Api/ServicePlatform/GetCustomerInfoByCustomerId",params || {},config || {});
  // return new Promise(function(resolve, reject) {
  //   resolve({
  //     Success: true,
  //     DataValue: {userId:1,name:"测试账号",role:"管家员"},
  //     Code: "0"
  //   });
  // });
}